
<!-- src/views/Home.vue -->

<template>
  <div>
    <h1>Welcome to Home</h1>
    <button @click="logout">Logout</button>
  </div>
</template>

<script>
export default {
  methods: {
    logout() {
      // 在此处编写退出登录逻辑
    }
  }
}
</script>
